<div class="detail">
    <div class="bd" style="float:left; width:100%;">

    <div style="font-size: 17px; color: red; margin-top:20px">Thông Tin Cá Nhân</div>
    <form action="{__SERVER}/member" method="post">
    <table id="tblAdd" style="width:100%; margin-top: 16px; font-size: 13px;font-size: 12px; font-weight: bold;" cellpadding="0" cellspacing="1">
       <tbody>


        <tr>
            <td class="td1"><div style="width:125px;"> Họ Tên </div></td>
            <td class="td2">
                        <input name="fullname" value="{fullname}" type="text" maxlength="200" id="NameP" class="textbox" style="width:98%;">
                        <span id="chkNameP" style="color:Red;display:none;">*</span>
                    </td>
        </tr>

        <tr>
            <td class="td1"><div style="width:125px;"> Ngày Sinh </div></td>
            <td class="td2">
                        <input name="dob" value="{dob}" placeholder="dd/mm/yyyy" type="text" maxlength="200" id="NameP" class="textbox" style="width:98%;">
                        <span id="chkNameP" style="color:Red;display:none;">*</span>
                    </td>
        </tr>
        <tr>
            <td class="td1"><div style="width:125px;"> Địa Chỉ </div></td>
            <td class="td2">
                        <input name="address" value="{address}" type="text" maxlength="200" id="NameP" class="textbox" style="width:98%;">
                        <span id="chkNameP" style="color:Red;display:none;">*</span>
                    </td>
        </tr>
        <tr>
            <td class="td1"><div style="width:125px;">Giới Tính</div></td>
            <td class="td2">

                        <input type="radio" value="1" name="sex" id="sex1"/> <span> Nam  </span>
                        <input type="radio" value="0" name="sex" id="sex0"/> <span> Nữ  </span>
                    </td>
        </tr>
        <tr>
            <td class="td1"><div style="width:125px;">Email</div></td>
            <td class="td2">
                        <input name="email" value="{email}" type="text" maxlength="200" id="NameP" class="textbox" style="width:98%;">
                        <span id="chkNameP" style="color:Red;display:none;">*</span>
                    </td>
        </tr>
        <tr>
            <td class="td1"><div style="width:125px;">Số Điện Thoại</div></td>
            <td class="td2">
                        <input name="mobile" value="{mobile}" type="text" maxlength="200" id="NameP" class="textbox" style="width:98%;">
                        <span id="chkNameP" style="color:Red;display:none;">*</span>
                    </td>
        </tr>
        <tr>
            <td class="td1"><div style="width:125px;">Nghề Nghiệp</div></td>
            <td class="td2">
                        <input name="job" value="{job}" type="text" maxlength="200" id="NameP" class="textbox" style="width:98%;">
                        <span id="chkNameP" style="color:Red;display:none;">*</span>
                    </td>
        </tr>




    </tbody></table>

    <input type="submit" value="Lưu Thông Tin Sửa Đổi" name="submit" style="margin-top: 20px; margin-left: 200px;"/>
    </form>


</div>
<script type="text/javascript">
    if(document.getElementById("sex1").value == {sex}){
        document.getElementById("sex1").checked = true;
    }
    else{
        document.getElementById("sex0").checked = true;
    }
</script>
